package com.Amall.mall.service.impl;

import com.github.pagehelper.PageHelper;
import com.Amall.mall.dto.UmsMenuNode;
import com.Amall.mall.mapper.UmsMenuMapper;
import com.Amall.mall.model.*;
import com.Amall.mall.service.UmsMenuService;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;

@Service
public class UmsMenuServiceImpl implements UmsMenuService{

    @Autowired
    private UmsMenuMapper menuMapper;

    @Override
    public int create(UmsMenu umsMenu) {
        return 0;
    }

    @Override
    public int update(Long id, UmsMenu umsMenu) {
        return 0;
    }

    @Override
    public UmsMenu getItem(Long id) {
        return null;
    }

    @Override
    public int delete(Long id) {
        return 0;
    }

    @Override
    public List<UmsMenu> list(Long parentId, Integer pageSize, Integer pageNum) {
        return Collections.emptyList();
    }

    @Override
    public List<UmsMenuNode> treeList() {
        return Collections.emptyList();
    }

    @Override
    public int updateHidden(Long id, Integer hidden) {
        return 0;
    }
}